import request from '@/utils/request'

// 查询服务模块列表
export function listIntService(query) {
  return request({
    url: '/internet/intService/list',
    method: 'get',
    params: query
  })
}

// 查询服务模块详细
export function getIntService(id) {
  return request({
    url: '/internet/intService/' + id,
    method: 'get'
  })
}

// 新增服务模块
export function addIntService(data) {
  return request({
    url: '/internet/intService',
    method: 'post',
    data: data
  })
}

// 修改服务模块
export function updateIntService(data) {
  return request({
    url: '/internet/intService',
    method: 'put',
    data: data
  })
}

// 删除服务模块
export function delIntService(id) {
  return request({
    url: '/internet/intService/' + id,
    method: 'delete'
  })
}
